﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace MethodWorx.Core.Extensions
{
    public static class IDataReaderExtensions
    {
        public static object GetValue(this IDataReader src, string name)
        {
            return src.GetValue(src.GetOrdinal(name));
        }
    }
}
